<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>全部书籍</title>

    <%--BootStrap美化界面--%>
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>

<div class="container">

    <div class="row clearfix">
        <div class="col-md-12 column">
            <div class="page-header">
                <h1>
                    <small>修改图书</small>
                </h1>
            </div>
        </div>
        <form action="${pageContext.request.contextPath}/book/updateBook" method="post">
            <input type="hidden" name="bookID" value="${book.bookID}">
            <div class="form-group">
                <label>名称</label>
                <input type="text" class="form-control" name="bookName" value="${book.bookName}" required>
            </div>
            <div class="form-group">
                <label>数量</label>
                <input type="text" class="form-control" name="bookCounts" value="${book.bookCounts}" required>
            </div>
            <div class="form-group">
                <label>描述</label>
                <input type="text" class="form-control" name="detail" value="${book.detail}" required>
            </div>
            <div class="form-group">
                <input type="submit" class="form-control" value="完成">
            </div>
        </form>

    </div>

</div>
</body>
</html>
